package com.sgam.mf.service.stock;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sgam.mf.dao.stock.StockSoldDAO;
import com.sgam.mf.domain.stock.StockSold;

@Service
public class StockSoldServiceImpl implements StockSoldService{

	@Autowired
	private StockSoldDAO dao;
	
//	@Transactional
//	public List<StockSold> list(){
//		return dao.list();
//	}
	
	@Transactional
	public List<StockSold> getStockSoldByForUserByDate(Integer userId, Date forDate) {

		
		return dao.getStockSoldByForUserByDate(userId, forDate);
	}

	
}
